EMT Practice Test
1. Question Content...
Question1: What is true about Python packages? (Select two answers)
Question4: What is the expected output of the following snippet?
Question5: What is the expected behavior of the following code?
Question8: What is the expected output of the following code?
Question9: Which of the following expressions evaluate to True? (Select two answers)
Question11: What is a true about python class constructors? (Select two answers)
Question13: Which of the following statements are true? (Select two answers)
Question14: What is the expected behavior of the following code?
Question15: What is the expected behavior of the following code?
Question16: What is the expected output of the following snippet?
Question19: What is the expected output of the following code?
Question22: What is true about Python class constructors? (Choose two.)
Question25: Which of the equations are True? (Select two answers)
Question28: What is the expected output of the following code?
Question30: What is the expected behavior of the following code?
Question31: What is the expected behavior of the following code?
Question32: What is true about Python packages? (Select two answers)
Question34: What is true about Python class constructors? (Select two answers)
Question35: The following expression
1+-2
is:
Question36: What is the expected output of the following code?
Question37: A property that stores information about a given class's super-classes is named:
Question38: What is the expected behavior of the following snippet?
It will:
Question39: What is true about Python class constructors? (Choose two.)
Question40: Which of the following expression evaluate to True? (Select two answers)
Question41: What is true about Object-Oriented Programming in Python? (Select two answers)
Question43: What is the expected output of the following code?
Question44: What is the expected behavior of the following code?
Question45: Python's built-in function named open () tries to open a file and returns:
Question46: What is the expected behavior of the following snippet?
It will:
Question47: Which of the equations are True? (Select two answers)
Question48: The__bases__property contains:
Question51: What is the expected behavior of the following code?
Question52: Which of the following statement are true? (Select two answers)
Question56: What is the expected output of the following snippet?
Question57: What is the expected behavior of the following code?
Question59: Is it possible to safely check if a class object has a certain attribute0
Question60: What is true about Object-Oriented Programming in Python? (Select two answers)
Question63: Python's built-in function named open () tries to open a file and returns:
Question64: What is the expected behavior of the following code?
Question65: What is the output of the following piece of code?
Question68: A variable stored separately in every object is called:
Question69: Which of the following sentences are true? (Select two answers)
Question70: What is the expected output of the following code?
Question73: The first parameter of each method:
Question74: What is the expected output of the following code?
Question76: Select the valid fun () invocations:
(select two answers)
def fun (a, b=0):
return a*b
Question77: What is the expected behavior of the following code?
Question79: Files with the suffix .pyc contain:
Question80: Which of the following lambda function definitions are correct? (Select two answers)
Question81: What is the expected behavior of the following code?
Question83: What is the expected output of the following code?
Question85: A compiler is a program designed to (select two answers)
Question86: What is the expected behavior of the following code?
Question87: The following class hierarchy is given. What is the expected output of the code?
Question89: Which of the following statements are true? (Select two answers)





















